<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<title>孕周知识</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<script type="text/javascript" src="../js/customize.js"></script>
        <link rel="stylesheet" type="text/css" href="../css/customize.css">
        <script type="text/javascript" src="../jquery-easyui-1.3.5/jquery.min.js"></script>
        <script type="text/javascript" src="<%=basePath%>ckeditor/ckeditor.js"></script>

<style type="text/css">
<!--
.STYLE8 {font-size: 14px; color: #400000; }
.STYLE19 {
	font-size: 16px;
	color: #804000;
	font-weight: bold;
}

body{
	background-image:url('<%=basePath%>images/background4.jpg');
	background-repeat:no-repeat;
}

-->
</style>
</head>
<body>
<%-- 	<%@ include file="../baseJSP/head.jsp"%>
	<%@ include file="../baseJSP/left.jsp"%> --%>
      <jsp:include page="../baseJSP/head.jsp"></jsp:include>
      <jsp:include page="../baseJSP/left.jsp"></jsp:include>  
 	<div style="width:77%;height:100%;float:right;text-align:left;">
 
 	   <form id="topicForm" action="<%=basePath%>club_addTopicAction" method="post" enctype ="multipart/form-data">
 	   	 <!-- 隐藏表单域，用于存放圈子ID -->
 	   <div style="width:100px;height:50px;margin-left:20px;">
				<span style="font-size:12pt;font-family:微软雅黑;">发表新帖</span>
		 </div>
 	   
 	   	  <div style="height:95%;width:75%;padding:20px;margin:0 auto;border:1px solid #E0FFFF; ">
		
			<div style="width:100%;height:50px;margin:10px auto;">
				主题：<input type="text" name="topic.topicTitle" style="height:30px;width:90%;"/>
			</div>
			
			<div style="width:100%;height:40px;margin:10px auto;">
				主题：<select name="topic.topicClassify" style="height:30px;width:15%;">
						<option value="">选择主题分类</option>
						<s:iterator value="topicClassifyList" var="curQueryForm" status="attr">
							<option	value=<s:property value="topicClassifyName"/>>							
								<s:property value="topicClassifyName" />
							</option>
						</s:iterator>
					</select>
			</div>
			
			<div style="width:100%;height:60%;margin:0px auto;">
				 内容：<br/><br/>
				 <textarea id="TextArea1" name="topic.topicContent" class="ckeditor"></textarea>			 	
			</div>
			
			<div style="width:100%;height:50px;margin:0px auto;">
				上传图片：
				<INPUT type="file" id="uploadfile" name="myFile"/>
			</div>
	
			<div style="width:100%;height:50px;margin:0px auto;">
				<input type="image" src="<%=basePath%>images/addTopic.png" style="cursor: pointer;" width="宽度" height="高度" border=0>
				<%-- <img alt="发表新帖" style="cursor: pointer;" title="发新帖" src="<%=basePath%>images/addTopic.png" onclick="return CkeckForm();"> --%>
			</div>
		</div>
		</form>
 		
 	</div>
 	</div>
  </div>  
    <%@ include file="../baseJSP/foot.jsp"%>
  </div>

</body>
</html>